package com.wxx.design.builder;

/**
 * @author: Jetwang
 * @date: 2022/4/10 14:12
 * @description: CourseActualBuilder
 * @version: 1.0
 */
public class CourseActualBuilder extends CourseBuilder{
    private Course course = new Course();
    @Override
    public void buildCourseName(String courseName) {
        course.setCourseName(courseName);
    }

    @Override
    public void buildCoursePPT(String CoursePPT) {
        course.setCoursePPT(CoursePPT);
    }

    @Override
    public void buildCourseVideo(String courseVideo) {
        course.setCourseVideo(courseVideo);
    }

    @Override
    public void buildCourseArticle(String courseArticle) {
        course.setCourseArticle(courseArticle);
    }

    @Override
    public void buildCourseQA(String courseQA) {
        course.setCourseQA(courseQA);
    }

    @Override
    public Course makeCourse() {
        return course;
    }
}
